package com.ruoyi.hmy.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.hmy.domain.HmyShopsInfo;

/**
 * 商户详情Mapper接口
 *
 * @author ruoyi
 * @date 2023-04-15
 */
public interface HmyShopsInfoMapper extends BaseMapper<HmyShopsInfo> {
    /**
     * 查询商户详情
     *
     * @param id 商户详情主键
     * @return 商户详情
     */
    public HmyShopsInfo selectHmyShopsInfoById(Long id);

    /**
     * 查询商户详情列表
     *
     * @param hmyShopsInfo 商户详情
     * @return 商户详情集合
     */
    public List<HmyShopsInfo> selectHmyShopsInfoList(HmyShopsInfo hmyShopsInfo);

    /**
     * 新增商户详情
     *
     * @param hmyShopsInfo 商户详情
     * @return 结果
     */
    public int insertHmyShopsInfo(HmyShopsInfo hmyShopsInfo);

    /**
     * 修改商户详情
     *
     * @param hmyShopsInfo 商户详情
     * @return 结果
     */
    public int updateHmyShopsInfo(HmyShopsInfo hmyShopsInfo);

    /**
     * 删除商户详情
     *
     * @param id 商户详情主键
     * @return 结果
     */
    public int deleteHmyShopsInfoById(Long id);

    /**
     * 批量删除商户详情
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteHmyShopsInfoByIds(Long[] ids);
}
